package interfaces;

import java.util.ArrayList;

/**
 * @author chihb
 * @create-time 2024/6/28 21:16
 * @description
 */
public class StudentMange {
    private ArrayList<Student> studentList=new ArrayList<>();
    private StudentOpearter studentOpearter=new StudentOpIml1();

    public StudentMange() {
        studentList.add(new Student("池和彬",'男',99.0));
        studentList.add(new Student("林峰",'男',90.6));
        studentList.add(new Student("李艳萍",'女',80.3));
        studentList.add(new Student("艳媚影",'女',89.6));
    }
    public void printInfo(){
        studentOpearter.printAllINfo(studentList);
    }

    public void printScore(){
        studentOpearter.printScore(studentList);
    }

}
